home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / TURB_VIS / TVISION / README < prev    next >
Text File  |  1990-11-26  |  6KB  |  109 lines

  1.                               Turbo Pascal 6.0
  2.                          Turbo Vision Demo Programs
  3.                  Copyright (c) 1990 by Borland International
  4.  
  5.   This README. file is part of an archived collection of simple and complex
  6. programs that illustrate the capabilities of Borland's new Turbo Vision
  7. object-oriented application library for Turbo Pascal 6.0.
  8.  
  9.   This set of demo programs may be posted on electronic bulletin boards (BBS)
  10. for downloading ONLY if the set is posted in its entirety and unmodified.
  11.  
  12.   These demo programs are not intended to educate the reader in the use of
  13. Turbo Vision or object oriented programming techniques -- merely to
  14. demonstrate Turbo Vision's capabilities.  These programs are a small subset
  15. of the demo programs shipped with Turbo Pascal 6.0, many of which were
  16. designed to accompany the Turbo Vision tutorial and reference books shipped
  17. with Turbo Pascal 6.0.
  18.  
  19.   The demo programs are compiled and ready to run.  Source code for the main
  20. programs and some program units is provided so that programmers can see how
  21. each Turbo Vision application is constructed.  Note that the source code
  22. cannot be compiled without Turbo Pascal 6.0 and the Turbo Vision library
  23. units.
  24.  
  25.   These demo programs, by themselves, are not a supported product of Borland
  26. International.  The programs are provided as a service to the public and
  27. prospective customers who wish to see a Turbo Vision application in action,
  28. and perhaps "look under the hood" at the source code a programmer would need
  29. to write to produce such programs.  The programs are provided "as-is" with
  30. no warranties or claims of suitability of use.
  31.  
  32. ----------------
  33. Now for the good stuff:  File listings and brief descriptions.
  34.  
  35. Hello.exe         :  A simple "Hello World" program, Turbo Vision style.
  36.  and .pas            Note how little code is needed to implement a fully
  37.                      functional, mouse and keyboard driven user interface,
  38.                      complete with hot-keys, a menu bar and a status line.
  39.                      {Things that "Writeln('Hello World');" never did!}
  40.                      The majority of this functionality is simply inherited
  41.                      from pre-defined Turbo Vision object types.
  42.  
  43. TVGUID10.exe      :  A slightly more complex program which has a window object
  44.     and .pas         with two "views" into the same file (tvguid10.pas).
  45.                      Each view can be scrolled independently of the other
  46.                      with either the mouse or the keyboard.  Again, basic
  47.                      window and view functionality such as draggable windows,
  48.                      scrollable views, etc. is gained by your program through
  49.                      object inheritance.  All this program has to do is link
  50.                      two view objects to a window object and pop the lot into
  51.                      a Turbo Vision application.
  52.  
  53. TVEdit.exe        :  Demonstrates the use of the text editor object provided
  54.                      with Turbo Vision.  Traditional WordStar control keys
  55.                      and search and replace operations are provided.  And if
  56.                      you want to enhance the editor object, just descend an
  57.                      new object type from the editor object, and then modify
  58.                      (override or extend) the piece(s) you want to change.
  59.  
  60. TVDemo.exe        :  An enhanced file viewer with a bushel of gadgets,
  61.                      tool objects, and a context-sensitive help system,
  62.                      all of which can easily be plugged into other Turbo
  63.                      Vision applications... adding a well-designed "tool"
  64.                      object can be done with as little as 3 or 4 lines of
  65.                      source code changes in your application.  Note also the
  66.              File Open and Change Directory dialogs:  these are
  67.              standard Turbo Vision objects.
  68.  
  69.  TVDemo features the following semi-autonomous objects:
  70.  
  71. ColorSelector     :  A color selector dialog.  Just provide names for your
  72.                      application's color palette entries and the ColorSel
  73.                      object handles the mechanics of changing the palette.
  74.  
  75. Gadgets           :  A unit containing a clock object, which is displayed in
  76.                      the top right corner of the screen, and a free heap
  77.                      gauge, displayed in the bottom right corner.  Both of
  78.                      these objects update themselves in the application's
  79.                      idle cycle.
  80.  
  81. Puzzle            :  The sliding tiles puzzle.  Click on the tiles to push
  82.                      them around.  Try to put them into some sort of order.
  83.  
  84. Calendar          :  A one-month calendar, accurate for the next 300 years.
  85.  
  86. Calc              :  A simple calculator.  Solar powered.
  87.  
  88. FViewer           :  A text file display object, featuring horizontal and
  89.              vertical scrollbars in a resizeable window.
  90.  
  91. DemoHelp          :  Turbo Vision also has a help file compiler program to
  92.                      help you generate your own context-sensitive hypertext
  93.                      help system for your Turbo Vision applications.
  94.  
  95. demohelp.txt      :  The help file "source text."  Note the use of the
  96.                      "topic" keywords and the ability to create "hypertext"
  97.              links between different help screens.
  98.  
  99. demohelp.hlp      :  The compiled help file in machine-readable form.
  100.                      TVDemo will report an error (but will still run) if
  101.                      this help file is not present at runtime.
  102.  
  103. demohelp.pas      :  A unit generated by the help compiler containing
  104.                      constants for you to use in your menu items and dialog
  105.                      controls to make the help system context sensitive.
  106.  
  107.  
  108. Enjoy!
  109.